@charset "utf-8";
/* CSS Document */

/* CONFIGURACION GENERAL */
* {
  margin: 0px;
  padding: 0px;
  font-family: "Bahnschrift", sans-serif;
}

html {
  background-color: #144e52;
}

.contenedor {
  width: 70%;
  /*     min-width: 1000px;
    min-height: 100vh; */
  margin: auto;
  display: flex;
  flex-direction: column;
  /* background-image: linear-gradient(to top, #144e52, white); */
}

b {
  color: rgb(255, 102, 0);
}

/* HEADER */
.cabecera_logo {
  width: 50%;
  height: 12vh;
  background: url(../imagenes/potenciate.svg);
  background-repeat: no-repeat;
  background-position-x: left;
  background-position-y: center;
  background-size: contain;
  /* display: flex; */
}

/* MENU */
.nav_menu {
  height: 2.5rem;
  width: 100%;
  padding-left: 2rem;
  align-items: start;
  justify-content: left;
  text-align: center;
  background-color: #144e52;
  display: flex;
}

/* HEADER Y MENU */
.btn_nav {
  height: 40px;
  border: none;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 20px;
  font-size: 14px;
}

.btn_seleccionado {
  color: rgb(255, 102, 0);
  font-weight: bold;
  text-decoration: none;
}

.btn_nav:hover {
  color: rgb(255, 102, 0);
  font-weight: bold;
  text-decoration: none;
}

/* EMPRESA */
.nosostros_partners {
  background-color: white;
}

.contenedor_bloque1 {
  width: 100%;
  height: 35rem;
  background-color: #144e52;
  background: url(../imagenes/empresa.png);
  background-size: contain;
  background-position-x: center;
  background-position-y: top;
  background-repeat: no-repeat;
}

/* FOTTER */
.footer {
  width: 100%;
  height: auto;
  background-image: url(pie.jpg);
  background-size: cover;
  background-position-x: center;
  background-position-y: top;
  background-repeat: no-repeat;
  color: rgb(63, 61, 61);
  text-align: end;
  padding: 1rem;
}

/* CAROUSEL */
.carousel-propio {
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
}

.carousel-inner img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon,
.carousel-indicators {
  filter: invert(108%);
}

/* PRODUCTOS */
.contenedor_principal {
  display: grid;
  /* background-color: green; */
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  /* grid-template-rows: 1fr 1fr; */
  row-gap: 0.5rem;
  grid-auto-flow: row; /* define si hay mas que agregar si lo hace en filas o en columnas */
  /* grid-auto-columns o grid-auto-rows determina el tamaño de las columanas o filas a agregar automaticamente */
  /*     grid-template-areas:
      "contenedor_1 contenedor_2 contenedor_3 contenedor_4"
      "contenedor_5 contenedor_6 contenedor_7 contenedor_8"; */
}

.contenedor_1 {
  /* background-color: gray; */
  justify-items: center;
}

.contenedor_2 {
  /* background-color: orange; */
  justify-items: center;
}

.contenedor_3 {
  /* background-color: red; */
  justify-items: center;
}

.contenedor_4 {
  /* background-color: violet; */
  justify-items: center;
}

.contenedor_5 {
  /* background-color: yellowgreen; */
  justify-items: center;
}

.contenedor_6 {
  /* background-color: purple; */
  justify-items: center;
}

.contenedor_7 {
  /* background-color: skyblue; */
  justify-items: center;
}

.contenedor_8 {
  /* background-color: blue; */
  justify-items: center;
}

/* PRODUCTOS CARTAS */
.card-plus {
  width: 15rem;
  padding: 0.5rem;
  margin: 0.2rem;
}

.btn-primary {
  background-color: #144e52 !important;
  border-color: #144e52 !important;
  color: rgb(255, 102, 0) !important;
}

.btn-primary:hover {
  color: white !important;
}

/* PRODUCTOS -> AMPLIADOS  */

.galeria {
  width: 100%;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

.contenedor-imagenes {
  display: flex;
  width: 85%;
  margin: auto;
  justify-content: space-around;
  flex-wrap: wrap;
  border-radius: 10px;
}

.imagen {
  width: 100%;
  height: 100%;
  position: relative;
  max-height: 250px;
  margin: 5px;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.75);
  background-color: white;
  overflow: hidden;
}

.imagen img {
  width: auto;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: relative;
  display: inline-block;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(255, 102, 0, 0.75);
  width: 100%;
  height: 20%;
  transition: 0.5s ease;
  overflow: hidden;
}

.overlay h2 {
  color: #ffffff;
  font-weight: 200;
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.imagen:hover .overlay {
  height: 100%;
  cursor: pointer;
}

.light-box {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease-in-out;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0);
}

.light-box img {
  /*   width: 60%; */
  height: 60%;
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
  max-height: 90vh;
}

.light-box:target {
  transform: scale(1);
}

.close_amp {
  display: flex;
  position: absolute;
  bottom: 15%;
  color: rgb(255, 102, 0);
  text-decoration: none;
  text-align: center;
  font-weight: bold;
}

.close_amp:hover {
  color: white;
}

.light-box iframe {
  width: 60%;
  height: 75%;
  position: absolute;
  top: 5%;
  left: 50%;
  text-align: center;
  transform: translate(-50%);
  max-height: 90vh;
}

/* NOVEDADES */
video {
  height: 10rem;
}

.video {
  width: 100%;
  height: auto;
  padding-left: 0.5rem;
}

.pienovedades-titulo {
  padding-top: 0.5rem;
  font-size: 20px;
  font-weight: bold;
  color: rgb(255, 102, 0);
}

.pienovedades-text {
  color: gray;
  font-size: 14px;
  font-style: italic;
  font-weight: normal;
}

/* -------------------------------------------------------------------- */

@media (max-width: 600px) {
  .container {
    display: grid;
    /* background-color: green; */
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 0.5em 0.5em;
    grid-auto-flow: row;
    grid-template-areas:
      "contenedor_1"
      "contenedor_2"
      "contenedor_3"
      "contenedor_4"
      "contenedor_5"
      "contenedor_6"
      "contenedor_7"
      "contenedor_8";
  }

  .contenedor {
    min-width: 400px;
  }

  .cabecera_logo {
    width: 100%;
    height: 10vh;
    background: url(../imagenes/potenciate.svg);
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: center;
    background-size: contain;
  }

  .nav_menu {
    height: 10rem;
    width: auto;
    flex-direction: column;
    align-items: center;
    justify-content: start;
  }

  .contenedor_bloque1 {
    height: 40vh;
  }

  .contenedor_bloque2 {
    height: 40vh;
  }

  .btn_nav {
    width: auto;
    height: 40px;
    border: none;
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
  }
}
